#!/bin/bash
sudo apt-get -y install wget
wget -c -O atzlinux-v12-archive-keyring_lastest_all.deb https://www.atzlinux.com/atzlinux/pool/main/a/atzlinux-archive-keyring/atzlinux-v12-archive-keyring_lastest_all.deb
sudo apt -y install ./atzlinux-v12-archive-keyring_lastest_all.deb
sudo apt-get update
# apt-get -y install atzlinux-store-v12
# apt-get -y install xdg-utils
# apt-get -y install xfce4-settings
# apt-get -y install libcanberra-gtk-module
# sudo apt -y install libssl1.1
# sudo apt -y install electronic-wechat-icons-atzlinux
# sudo apt -y install com.tencent.wechat
# sudo apt -y install linuxqq
# sudo apt -y install io.github.msojocs.bilibili
# sudo apt -y install mailmaster
# sudo apt -y install additional-base-lib
# apt-get -y install \
# 	fcitx-config-common \
# 	fcitx-config-gtk \
# 	fcitx-frontend-all \
# 	fcitx-frontend-qt5 \
# 	fcitx-googlepinyin \
# 	fcitx-m17n \
# 	fcitx-module-x11 \
# 	fcitx-sunpinyin \
# 	fcitx-table-wubi \
# 	fcitx-table-wbpy \
# 	fcitx-ui-classic
# apt-get -y install libqt5quickwidgets5
# apt-get -y install libgsettings-qt1
# apt-get -y install sogoupinyin
# rm -f /etc/apt/sources.list.d/sogoupinyin.list

# set qt5 in Debian or atzlinux OS for sogoupinyin
# see /var/lib/dpkg/info/sogoupinyin.postinst
# if [ -d /opt/sogoupinyin/files/lib/qt5 ]; then
# 	mv /opt/sogoupinyin/files/lib/qt5 /opt/sogoupinyin/files/lib/qt5.bak
# fi
# if [ -f /opt/sogoupinyin/files/bin/qt.conf ]; then
# 	mv /opt/sogoupinyin/files/bin/qt.conf /opt/sogoupinyin/files/bin/qt.conf.bak
# fi
#
# sudo apt-get -y install fonts-zh-cn-misc-atzlinux
# apt-get -y install desktop-file-utils
# apt-get -y install baidunetdisk
# apt-get -y install app.web.youdao.dict
# sudo apt-get -y install ttf-mscorefonts-atzlinux
# sudo apt-get -y install wps-office wps-office-fonts
# sudo apt-get -y install fonts-lxgw-wenkai
# echo "安装成功，请退出当前登录，重新登录，让安装生效。"
